.class public Lcom/esfile/screen/recorder/ui/a$e;
.super Ljava/lang/Object;
.source "DuDialog.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/esfile/screen/recorder/ui/a;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "e"
.end annotation


# instance fields
.field private A:F

.field private B:F

.field private a:Landroid/content/Context;

.field private b:Ljava/lang/String;

.field private c:Ljava/lang/String;

.field private d:Ljava/lang/String;

.field private e:Ljava/lang/String;

.field private f:I

.field private g:Landroid/view/View;

.field private h:Landroid/content/DialogInterface$OnClickListener;

.field private i:Landroid/content/DialogInterface$OnClickListener;

.field private j:Landroid/content/DialogInterface$OnDismissListener;

.field private k:Landroid/content/DialogInterface$OnCancelListener;

.field private l:Landroid/content/DialogInterface$OnKeyListener;

.field private m:Z

.field private n:Z

.field private o:I

.field private p:I

.field private q:F

.field private r:I

.field private s:I

.field private t:Z

.field private u:I

.field private v:I

.field private w:I

.field private x:I

.field private y:I

.field private z:F


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->a:Landroid/content/Context;

    const/4 p1, 0x0

    .line 3
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->m:Z

    .line 4
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->n:Z

    const/16 v0, -0x64

    .line 5
    iput v0, p0, Lcom/esfile/screen/recorder/ui/a$e;->o:I

    .line 6
    iput v0, p0, Lcom/esfile/screen/recorder/ui/a$e;->p:I

    const/high16 v0, -0x40800000    # -1.0f

    .line 7
    iput v0, p0, Lcom/esfile/screen/recorder/ui/a$e;->q:F

    const/4 v0, -0x1

    .line 8
    iput v0, p0, Lcom/esfile/screen/recorder/ui/a$e;->r:I

    .line 9
    iput v0, p0, Lcom/esfile/screen/recorder/ui/a$e;->s:I

    .line 10
    iput p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->u:I

    .line 11
    iput p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->v:I

    .line 12
    iput p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->w:I

    .line 13
    iput p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->x:I

    return-void
.end method


# virtual methods
.method public a(I)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 0
    .param p1    # I
        .annotation build Landroidx/annotation/StyleRes;
        .end annotation
    .end param

    .line 9
    iput p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->s:I

    return-object p0
.end method

.method public a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 1

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/ui/a$e;->a:Landroid/content/Context;

    .line 5
    invoke-virtual {v0, p1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    iput-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->e:Ljava/lang/String;

    .line 6
    iput-object p2, p0, Lcom/esfile/screen/recorder/ui/a$e;->i:Landroid/content/DialogInterface$OnClickListener;

    return-object p0
.end method

.method public a(Landroid/content/DialogInterface$OnCancelListener;)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 0

    .line 7
    iput-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->k:Landroid/content/DialogInterface$OnCancelListener;

    return-object p0
.end method

.method public a(Landroid/content/DialogInterface$OnKeyListener;)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 0

    .line 8
    iput-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->l:Landroid/content/DialogInterface$OnKeyListener;

    return-object p0
.end method

.method public a(Landroid/view/View;)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 0

    .line 2
    iput-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->g:Landroid/view/View;

    return-object p0
.end method

.method public a(Ljava/lang/String;)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->b:Ljava/lang/String;

    return-object p0
.end method

.method public a(Z)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 0

    .line 3
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->n:Z

    return-object p0
.end method

.method public a()Lcom/esfile/screen/recorder/ui/a;
    .locals 1

    .line 10
    iget-object v0, p0, Lcom/esfile/screen/recorder/ui/a$e;->a:Landroid/content/Context;

    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/ui/a$e;->a(Landroid/content/Context;)Lcom/esfile/screen/recorder/ui/a;

    move-result-object v0

    return-object v0
.end method

.method public a(Landroid/content/Context;)Lcom/esfile/screen/recorder/ui/a;
    .locals 5

    .line 11
    new-instance v0, Lcom/esfile/screen/recorder/ui/a;

    invoke-direct {v0, p1}, Lcom/esfile/screen/recorder/ui/a;-><init>(Landroid/content/Context;)V

    .line 12
    iget-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->c:Ljava/lang/String;

    if-eqz p1, :cond_0

    .line 13
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a;->a(Ljava/lang/String;)V

    .line 14
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->b:Ljava/lang/String;

    if-eqz p1, :cond_1

    .line 15
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a;->b(Ljava/lang/String;)V

    .line 16
    :cond_1
    iget-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->d:Ljava/lang/String;

    if-eqz p1, :cond_2

    .line 17
    iget-object v1, p0, Lcom/esfile/screen/recorder/ui/a$e;->h:Landroid/content/DialogInterface$OnClickListener;

    invoke-virtual {v0, p1, v1}, Lcom/esfile/screen/recorder/ui/a;->b(Ljava/lang/String;Landroid/content/DialogInterface$OnClickListener;)V

    .line 18
    :cond_2
    iget-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->e:Ljava/lang/String;

    if-eqz p1, :cond_3

    .line 19
    iget-object v1, p0, Lcom/esfile/screen/recorder/ui/a$e;->i:Landroid/content/DialogInterface$OnClickListener;

    invoke-virtual {v0, p1, v1}, Lcom/esfile/screen/recorder/ui/a;->a(Ljava/lang/String;Landroid/content/DialogInterface$OnClickListener;)V

    .line 20
    :cond_3
    iget-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->g:Landroid/view/View;

    if-eqz p1, :cond_4

    .line 21
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a;->a(Landroid/view/View;)V

    .line 22
    :cond_4
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->f:I

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a;->a(I)V

    .line 23
    iget-boolean p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->m:Z

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a;->a(Z)V

    .line 24
    iget-boolean p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->n:Z

    invoke-virtual {v0, p1}, Landroid/app/Dialog;->setCancelable(Z)V

    .line 25
    iget-boolean p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->n:Z

    if-eqz p1, :cond_5

    const/4 p1, 0x1

    .line 26
    invoke-virtual {v0, p1}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 27
    :cond_5
    iget-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->j:Landroid/content/DialogInterface$OnDismissListener;

    if-eqz p1, :cond_6

    .line 28
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 29
    :cond_6
    iget-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->k:Landroid/content/DialogInterface$OnCancelListener;

    if-eqz p1, :cond_7

    .line 30
    invoke-virtual {v0, p1}, Landroid/app/Dialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V

    .line 31
    :cond_7
    iget-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->l:Landroid/content/DialogInterface$OnKeyListener;

    if-eqz p1, :cond_8

    .line 32
    invoke-virtual {v0, p1}, Landroid/app/Dialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 33
    :cond_8
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->o:I

    const/4 v1, -0x2

    const/4 v2, -0x1

    if-gtz p1, :cond_9

    if-eq p1, v2, :cond_9

    if-ne p1, v1, :cond_a

    .line 34
    :cond_9
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->o:I

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a;->e(I)V

    .line 35
    :cond_a
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->p:I

    if-gtz p1, :cond_b

    if-eq p1, v2, :cond_b

    if-ne p1, v1, :cond_c

    .line 36
    :cond_b
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->p:I

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a;->b(I)V

    .line 37
    :cond_c
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->q:F

    const/4 v1, 0x0

    cmpl-float p1, p1, v1

    if-lez p1, :cond_d

    .line 38
    invoke-virtual {v0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object p1

    if-eqz p1, :cond_d

    .line 39
    invoke-virtual {p1}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v2

    .line 40
    iget v3, p0, Lcom/esfile/screen/recorder/ui/a$e;->q:F

    iput v3, v2, Landroid/view/WindowManager$LayoutParams;->dimAmount:F

    .line 41
    invoke-virtual {p1, v2}, Landroid/view/Window;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V

    const/4 v2, 0x2

    .line 42
    invoke-virtual {p1, v2}, Landroid/view/Window;->addFlags(I)V

    .line 43
    :cond_d
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->r:I

    if-lez p1, :cond_e

    .line 44
    invoke-virtual {v0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object p1

    if-eqz p1, :cond_e

    .line 45
    invoke-virtual {p1}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v2

    .line 46
    iget v3, p0, Lcom/esfile/screen/recorder/ui/a$e;->r:I

    iput v3, v2, Landroid/view/WindowManager$LayoutParams;->gravity:I

    .line 47
    invoke-virtual {p1, v2}, Landroid/view/Window;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V

    .line 48
    :cond_e
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->s:I

    if-lez p1, :cond_f

    .line 49
    invoke-virtual {v0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object p1

    if-eqz p1, :cond_f

    .line 50
    iget v2, p0, Lcom/esfile/screen/recorder/ui/a$e;->s:I

    invoke-virtual {p1, v2}, Landroid/view/Window;->setWindowAnimations(I)V

    .line 51
    :cond_f
    iget-boolean p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->t:Z

    if-eqz p1, :cond_10

    .line 52
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/ui/a;->a()V

    .line 53
    :cond_10
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->u:I

    if-gtz p1, :cond_11

    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->v:I

    if-gtz p1, :cond_11

    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->w:I

    if-gtz p1, :cond_11

    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->x:I

    if-lez p1, :cond_12

    .line 54
    :cond_11
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->u:I

    iget v2, p0, Lcom/esfile/screen/recorder/ui/a$e;->v:I

    iget v3, p0, Lcom/esfile/screen/recorder/ui/a$e;->w:I

    iget v4, p0, Lcom/esfile/screen/recorder/ui/a$e;->x:I

    invoke-virtual {v0, p1, v2, v3, v4}, Lcom/esfile/screen/recorder/ui/a;->a(IIII)V

    .line 55
    :cond_12
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->y:I

    if-lez p1, :cond_13

    .line 56
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a;->c(I)V

    .line 57
    :cond_13
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->z:F

    cmpl-float v2, p1, v1

    if-lez v2, :cond_14

    iget v2, p0, Lcom/esfile/screen/recorder/ui/a$e;->A:F

    cmpl-float v3, v2, v1

    if-lez v3, :cond_14

    .line 58
    invoke-virtual {v0, p1, v2}, Lcom/esfile/screen/recorder/ui/a;->a(FF)V

    .line 59
    :cond_14
    iget p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->B:F

    cmpl-float v1, p1, v1

    if-lez v1, :cond_15

    .line 60
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/ui/a;->a(F)V

    :cond_15
    return-object v0
.end method

.method public b(I)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 0

    .line 5
    iput p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->r:I

    return-object p0
.end method

.method public b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/ui/a$e;->a:Landroid/content/Context;

    .line 2
    invoke-virtual {v0, p1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    iput-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->d:Ljava/lang/String;

    .line 3
    iput-object p2, p0, Lcom/esfile/screen/recorder/ui/a$e;->h:Landroid/content/DialogInterface$OnClickListener;

    return-object p0
.end method

.method public b(Z)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 0

    .line 4
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->m:Z

    return-object p0
.end method

.method public b()Lcom/esfile/screen/recorder/ui/a;
    .locals 1

    .line 6
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/ui/a$e;->a()Lcom/esfile/screen/recorder/ui/a;

    move-result-object v0

    .line 7
    :try_start_0
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/ui/a;->show()V
    :try_end_0
    .catch Landroid/view/WindowManager$BadTokenException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-object v0
.end method

.method public c(I)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/ui/a$e;->a:Landroid/content/Context;

    invoke-virtual {v0, p1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    iput-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->c:Ljava/lang/String;

    return-object p0
.end method

.method public d(I)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/ui/a$e;->a:Landroid/content/Context;

    invoke-virtual {v0, p1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    iput-object p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->b:Ljava/lang/String;

    return-object p0
.end method

.method public e(I)Lcom/esfile/screen/recorder/ui/a$e;
    .locals 0

    .line 1
    iput p1, p0, Lcom/esfile/screen/recorder/ui/a$e;->o:I

    return-object p0
.end method
